package com.exonline.commons.entity;
/**
 * @desc 教师实体类
 * @author hbrj
 */
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher {
    private String id;//教师id
    private String tname;//教师名称
    private String workyears;//教师工作年限
    private String direction;//教师教学方向
    private String introduce;//教师介绍
    private String email;//教师邮箱
    private String phone;//教师手机号
    private String password;//教师密码
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String rname;//角色名称
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String rid;//角色id
    private String registrationTime;//教师注册时间
    private String lastLogin;//教师最后登录时间
    private List<Map<String,Object>> pictureurl;//教师申请资质url
    private String status;  //教师状态
}
